<template>
  <d-modal :title="'菜单授权'" :visible="visible" :width="700" @ok="handleSubmit" @cancel="handleCancel">
  </d-modal>
</template>
<script setup>
import { ref, onMounted } from 'vue'
import { message } from 'ant-design-vue'

const visible = ref(false)

const show = () => {
  visible.value = true
}

const handleCancel = () => {
  visible.value = false
}

defineExpose({
  show
})
</script>